package us.gaaoc.framework.model;

import java.util.List;
/**
 * 
 * @author hea
 * Date  May 18, 2007
 */
public class DocumentType implements java.io.Serializable{
	private int code;
	private String description;
	private DocumentCategory documentCategory;
	private List<DocumentInstance> documentInstances; 	
	
	public DocumentType(){
		
	}
	public DocumentType(int code, String description) {
		this.setCode(code);
		this.setDescription(description);
	}
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
 
	public List<DocumentInstance> getDocumentInstances() {
		return documentInstances;
	}
	public void setDocumentInstances(List<DocumentInstance> documentInstances) {
		this.documentInstances = documentInstances;
	}

	public DocumentCategory getDocumentCategory() {
		return documentCategory;
	}
	public void setDocumentCategory(DocumentCategory documentCategory) {
		this.documentCategory = documentCategory;
	}
	
}
